import Vue from 'vue'
import Router from 'vue-router'
import {resolve} from 'path';

Vue.use(Router)

export default new Router({
  mode: 'history',
  base: '/',
  routes: [{
    path: '/',
    redirect: '/index',
    meta: {title: '后台管理系统'}
  }, {
    path: '/index',
    name: 'index',
    component: resolve => require(['@/components/index'], resolve),
    meta: {title: '后台管理系统'}
  }, {
    path: '/login',
    name: 'login',
    component: resolve => require(['@/components/login/login'], resolve),
    meta: {title: '登录'}
  },
    {
      path: '/home',
      name: 'home',
      component: resolve => require(['@/components/home'], resolve),
      meta: {title: '首页-系统首页'},
      children: [{
        path: '/system',
        name: 'system',
        component: resolve => require(['@/components/system/system'], resolve),
        meta: {title: '首页-系统首页'}
      }, {
        path: '/system/unProject',
        name: 'unProject',
        component: resolve => require(['@/components/system/undo/buildProject/unProject'], resolve),
        meta: {title: '待建项项目-管理部'}
      }, {
        path: '/system/unProjectDetail',
        name: 'unProjectDetail',
        component: resolve => require(['@/components/system/undo/buildProject/unProjectDetail'], resolve),
        meta: {title: '待建项项目-详情'}
      },
        {
          path: '/system/unTakePro',
          name: 'unTakePro',
          component: resolve => require(['@/components/system/undo/projects/unTakePro'], resolve),
          meta: {title: '待建项项目-项目部文员'}
        },
        {
          path: '/system/unSupply',
          name: 'unSupply',
          component: resolve => require(['@/components/system/undo/unSupply'], resolve),
          meta: {title: '待入库甲供材料'}
        },
        {
          path: '/system/unTakeOrder',
          name: 'unTakeOrder',
          component: resolve => require(['@/components/system/undo/projects/unTakeOrder'], resolve),
          meta: {title: '待派单项目-项目部文员'}
        }, {
          path: '/system/unContract',
          name: 'unContract',
          component: resolve => require(['@/components/system/undo/contract/unContract'], resolve),
          meta: {title: '待收款合同'}
        },
        {
          path: '/system/unContract/unContractDetail',
          name: 'unContractDetail',
          component: resolve => require(['@/components/system/undo/contract/unContractDetail'], resolve),
          meta: {title: '待收款合同'}
        },

        {
          path: '/system/material',
          name: 'material',
          component: resolve => require(['@/components/system/undo/material/material'], resolve),
          meta: {title: '待处理材料'}
        },

        {
          path: '/system/projects',
          name: 'projects',
          component: resolve => require(['@/components/system/undo/projects/projects'], resolve),
          meta: {title: '待审核项目-管理部'}
        },
        {
          path: '/system/unInputMater',
          name: 'unInputMater',
          component: resolve => require(['@/components/system/undo/unInputMater'], resolve),
          meta: {title: '待入库施工队退料'}
        },
        {
          path: '/system/pending',
          name: 'pending',
          component: resolve => require(['@/components/system/undo/pending'], resolve),
          meta: {title: '待审批采购'}
        },


        {
          path: '/system/projects/examine',
          name: 'examine',
          component: resolve => require(['@/components/system/undo/projects/examine'], resolve),
          meta: {title: '工作量统计'}
        },

        {
          path: '/system/makeContract',
          name: 'makeContract',
          component: resolve => require(['@/components/system/undo/makeContract/makeContract'], resolve),
          meta: {title: '待开票合同'}
        },

        {
          path: '/system/teamSettle',
          name: 'teamSettle',
          component: resolve => require(['@/components/system/undo/teamSettle/teamSettle'], resolve),
          meta: {title: '待处理施工队结算'}
        },

        {
          path: '/system/teamSettle/teamWork',
          name: 'teamWork',
          component: resolve => require(['@/components/system/undo/teamSettle/teamWork'], resolve),
          meta: {title: '待处理施工队结算-工作量审核'}
        },

        {
          path: '/system/acceptance/unAcceptance',
          name: 'unAcceptance',
          component: resolve => require(['@/components/system/undo/acceptance/unAcceptance'], resolve),
          meta: {title: '待验收项目-项目部'}
        },

        {
          path: '/system/acceptance/bmkUnAcceptance',
          name: 'bmkUnAcceptance',
          component: resolve => require(['@/components/system/undo/acceptance/bmkUnAcceptance'], resolve),
          meta: {title: '待验收项目(补盲扩)-项目部'}
        },

        {
          path: '/system/acceptance/acceptDetail',
          name: 'acceptDetail',
          component: resolve => require(['@/components/system/undo/acceptance/acceptDetail'], resolve),
          meta: {title: '待验收项目-工作量审核'}
        },

        {
          path: '/system/teamSettle/unPayTeam',
          name: 'unPayTeam',
          component: resolve => require(['@/components/system/undo/teamSettle/unPayTeam'], resolve),
          meta: {title: '待结算施工队'}
        },

        {
          path: '/setting',
          name: 'setting',
          component: resolve => require(['@/components/system/setting'], resolve),
          meta: {title: '首页-账户设置'}
        }, {
          path: '/baseConfig',
          name: 'baseConfig',
          component: resolve => require(['@/components/system/baseConfig'], resolve),
          meta: {title: '首页-常用设置'}
        },{
          path: '/teamCountInfo',
          name: 'teamCountInfo',
          component: resolve => require(['@/components/system/teamCountInfo'], resolve),
          meta: {title: '首页-施工队结算价格表'}
        },{
          path: '/basicParameters',
          name: 'basicParameters',
          component: resolve => require(['@/components/system/basicParameters'], resolve),
          meta: {title: '首页-基础参数表'}
        }, {
          path: '/contractList',
          name: 'contractList',
          component: resolve => require(['@/components/contract/contractList'], resolve),
          meta: {title: '合同-合同列表'}
        },
        {
          path: '/contractList/addFra',
          name: 'addFra',
          component: resolve => require(['@/components/contract/addFra'], resolve),
          meta: {title: '合同-添加框架合同'}
        },
        {
          path: '/contractList/addFalseFra',
          name: 'addFalseFra',
          component: resolve => require(['@/components/contract/addFalseFra'], resolve),
          meta: {title: '合同-添加虚拟合同'}
        },

        {
          path: '/contractList/addTurecontract',
          name: 'addTurecontract',
          component: resolve => require(['@/components/contract/addTurecontract'], resolve),
          meta: {title: '合同-添加合同-真实单项（有框架）'}
        },


        {
          path: '/contractList/addFalsecontract',
          name: 'addFalsecontract',
          component: resolve => require(['@/components/contract/addFalsecontract'], resolve),
          meta: {title: '合同-虚拟单项合同'}
        },

        {
          path: '/buildPro',
          name: 'buildPro',
          component: resolve => require(['@/components/contract/buildPro'], resolve),
          meta: {title: '合同-项目建项'}
        },
        {
          path: '/buildPro/next',
          name: 'next',
          component: resolve => require(['@/components/contract/next'], resolve),
          meta: {title: '合同-项目建项下一步'}
        },
        {
          path: '/contractList/subContract',
          name: 'subContract',
          component: resolve => require(['@/components/contract/subContract'], resolve),
          meta: {title: '合同-分包合同'}
        },
        {
          path: '/contractList/toLeadPro',
          name: 'toLeadPro',
          component: resolve => require(['@/components/contract/toLeadPro'], resolve),
          meta: {title: '单项合同-导入项目'}
        },

        {
          path: '/sendInfo',
          name: 'sendInfo',
          component: resolve => require(['@/components/contract/sendInfo'], resolve),
          meta: {title: '合同-发文资料'}
        },
        {
          path: '/sendInfo/postInformation/postTableOne',
          name: 'postTableOne',
          component: resolve => require(['@/components/contract/postData/postTableOne'], resolve),
          meta: {title: '发文资料-交维报告总汇'}
        },
        {
          path: '/sendInfo/postInformation/postTableTwo',
          name: 'postTableTwo',
          component: resolve => require(['@/components/contract/postData/postTableTwo'], resolve),
          meta: {title: '发文资料-客户点信息表'}
        },
        {
          path: '/sendInfo/postInformation/postTableThree',
          name: 'postTableThree',
          component: resolve => require(['@/components/contract/postData/postTableThree'], resolve),
          meta: {title: '发文资料-跳纤站点交维表'}
        },
        {
          path: '/sendInfo/postInformation/postTableFour',
          name: 'postTableFour',
          component: resolve => require(['@/components/contract/postData/postTableFour'], resolve),
          meta: {title: '发文资料-结算表'}
        },
        {
          path: '/sendInfo/postInformation/postTableFive',
          name: 'postTableFive',
          component: resolve => require(['@/components/contract/postData/postTableFive'], resolve),
          meta: {title: '发文资料-材料台账'}
        },
        {
          path: '/sendInfo/postInformation',
          name: 'postInformation',
          component: resolve => require(['@/components/contract/postInformation'], resolve),
          meta: {title: '发文资料-查看详情'}
        },
        {
          path: '/sendInfo/productData',
          name: 'productData',
          component: resolve => require(['@/components/contract/productData'], resolve),
          meta: {title: '合同-生成发文资料'}
        },

        {
          path: '/sendInfo/productData/infoSheet',
          name: 'infoSheet',
          component: resolve => require(['@/components/contract/infoSheet'], resolve),
          meta: {title: '合同-信息表'}
        },

        {
          path: '/handInfo',
          name: 'handInfo',
          component: resolve => require(['@/components/contract/handInfo'], resolve),
          meta: {title: '合同-交竣工资料'}
        },


        {
          path: '/handInfo/handInfoos',
          name: 'handInfoos',
          component: resolve => require(['@/components/contract/handInfoos'], resolve),
          meta: {title: '合同-交工资料'}
        },


        {
          path: '/handInfo/handInfoos/handDetails',
          name: 'handDetails',
          component: resolve => require(['@/components/contract/handDetails'], resolve),
          meta: {title: '合同-交工资料-查看详情'}
        },


        {
          path: '/calcInfo',
          name: 'calcInfo',
          component: resolve => require(['@/components/contract/calcInfo'], resolve),
          meta: {title: '合同-送审结算资料'}
        }, {
          path: '/projectList',
          name: 'projectList',
          component: resolve => require(['@/components/project/projectList'], resolve),
          meta: {title: '项目-项目列表'}
        }, {
          path: '/sendList',
          name: 'sendList',
          component: resolve => require(['@/components/project/sendList'], resolve),
          meta: {title: '项目-派单记录'}
        }, {
          path: '/projectInfo',
          name: 'projectInfo',
          component: resolve => require(['@/components/project/projectInfo'], resolve),
          meta: {title: '项目-项目部信息'}
        }, {
          path: '/projectInfo/addProject',
          name: 'addProject',
          component: resolve => require(['@/components/project/addProject'], resolve),
          meta: {title: '项目-添加项目部'}
        }, {
          path: '/projectList/sendInfos',
          name: 'sendInfos',
          component: resolve => require(['@/components/project/sendInfo'], resolve),
          meta: {title: '项目-派单/改派'}
        }, {
          path: '/approveList',
          name: 'approveList',
          component: resolve => require(['@/components/project/approveList'], resolve),
          meta: {title: '项目-建项审批列表'}
        }, {
          path: '/approveList/approveDetail',
          name: 'approveDetail',
          component: resolve => require(['@/components/project/approveDetail'], resolve),
          meta: {title: '项目-审批详情'}
        }, {
          path: '/finalCostTable/finalCostDetail',
          name: 'finalCostDetail',
          component: resolve => require(['@/components/project/finalCost/finalCostDetail'], resolve),
          meta: {title: '终结算列表-项目详情'}
        }, {
          path: '/finalCostTable',
          name: 'finalCostTable',
          component: resolve => require(['@/components/project/finalCost/finalCostTable'], resolve),
          meta: {title: '项目-终结算列表'}
        }, {
          path: '/makeFinalCost',
          name: 'makeFinalCost',
          component: resolve => require(['@/components/project/finalCost/makeFinalCost'], resolve),
          meta: {title: '项目-生成终结算'}
        }, {
          path: '/expansion',
          name: 'expansion',
          component: resolve => require(['@/components/project/expansion/expansion'], resolve),
          meta: {title: '项目-补盲扩项目'}
        }, {
          path: '/expansionData',
          name: 'expansionData',
          component: resolve => require(['@/components/project/expansion/expansionData/expansionData'], resolve),
          meta: {title: '项目-生成紧急扩容资料'}
        }, {
          path: '/takeOrder',
          name: 'takeOrder',
          component: resolve => require(['@/components/project/expansion/expansionData/takeOrder'], resolve),
          meta: {title: '补盲扩项目-接单'}
        }, {
          path: '/tableOne',
          name: 'tableOne',
          component: resolve => require(['@/components/project/expansion/expansionData/tableOne'], resolve),
          meta: {title: '表一-七级标准地址'}
        }, {
          path: '/tableTwo',
          name: 'tableTwo',
          component: resolve => require(['@/components/project/expansion/expansionData/tableTwo'], resolve),
          meta: {title: '表二-设备覆盖地址'}
        }, {
          path: '/tableSecond',
          name: 'tableSecond',
          component: resolve => require(['@/components/project/expansion/expansionData/tableSecond'], resolve),
          meta: {title: '表二-GF覆盖地址(二级分光)'}
        }, {
          path: '/tableThree',
          name: 'tableThree',
          component: resolve => require(['@/components/project/expansion/expansionData/tableThree'], resolve),
          meta: {title: '表三-分光器'}
        }, {
          path: '/tableFour',
          name: 'tableFour',
          component: resolve => require(['@/components/project/expansion/expansionData/tableFour'], resolve),
          meta: {title: '表四-标签配线表'}
        }, {
          path: '/tableFive',
          name: 'tableFive',
          component: resolve => require(['@/components/project/expansion/expansionData/tableFive'], resolve),
          meta: {title: '表五-配线箱体表'}
        }, {
          path: '/tableSubOne',
          name: 'tableSubOne',
          component: resolve => require(['@/components/project/expansion/expansionData/tableSubOne'], resolve),
          meta: {title: '扩容资料-工作量确认表'}
        }, {
          path: '/tableSubTwo',
          name: 'tableSubTwo',
          component: resolve => require(['@/components/project/expansion/expansionData/tableSubTwo'], resolve),
          meta: {title: '扩容资料-材料使用表'}
        }, {
          path: '/tableSubThree',
          name: 'tableSubThree',
          component: resolve => require(['@/components/project/expansion/expansionData/tableSubThree'], resolve),
          meta: {title: '扩容资料-主要工程量统计表'}
        }, {
          path: '/finishPhoto',
          name: 'finishPhoto',
          component: resolve => require(['@/components/project/expansion/expansionData/finishPhoto'], resolve),
          meta: {title: '扩容资料-完工照片'}
        },
        // {
        //   path: '/dataList',
        //   name: 'dataList',
        //   component: resolve => require(['@/components/project/expansion/expansionData/dataList'], resolve),
        //   meta: {title: '扩容资料-资料列表'}
        // },
        {
          path: '/expansionDetail',
          name: 'expansionDetail',
          component: resolve => require(['@/components/project/expansion/expansionDetail'], resolve),
          meta: {title: '补盲扩-项目信息'}
        }, {
          path: '/problemDetail',
          name: 'problemDetail',
          component: resolve => require(['@/components/project/expansion/problemDetail'], resolve),
          meta: {title: '补盲扩-问题项目信息'}
        }, {
          path: '/bmkSendList',
          name: 'bmkSendList',
          component: resolve => require(['@/components/project/bmkSendList'], resolve),
          meta: {title: '补盲扩-派单记录'}
        }, {
          path: '/sendOrder',
          name: 'sendOrder',
          component: resolve => require(['@/components/project/expansion/sendOrder'], resolve),
          meta: {title: '补盲扩-派单'}
        }, {
          path: '/outputTotalTable',
          name: 'outputTotalTable',
          component: resolve => require(['@/components/project/expansion/outputTotalTable'], resolve),
          meta: {title: '补盲扩-生成统计总表'}
        }, {
          path: '/expansionWorkLoad',
          name: 'expansionWorkLoad',
          component: resolve => require(['@/components/project/expansion/expansionWorkLoad'], resolve),
          meta: {title: '补盲扩-工作量审核'}
        }, {
          path: '/proMater',
          name: 'proMater',
          component: resolve => require(['@/components/material/meterialManage/proMater'], resolve),
          meta: {title: '材料-项目部采购'}
        }, {
          path: '/purchaseRequest',
          name: 'purchaseRequest',
          component: resolve => require(['@/components/material/purchaseRequest'], resolve),
          meta: {title: '材料-项目部采购申请'}
        }, {
          path: '/purchaseApproval',
          name: 'purchaseApproval',
          component: resolve => require(['@/components/material/meterialManage/purchaseApproval'], resolve),
          meta: {title: '材料-管理部采购审批'}
        }, {
          path: '/teamBuy',
          name: 'teamBuy',
          component: resolve => require(['@/components/material/meterialManage/teamBuy'], resolve),
          meta: {title: '材料-施工队采购申请'}
        }, {
          path: '/teamGet',
          name: 'teamGet',
          component: resolve => require(['@/components/material/meterialManage/teamGet'], resolve),
          meta: {title: '材料-施工队领料申请'}
        },
        {
          path: '/teamGet/viewDetails',
          name: 'viewDetails',
          component: resolve => require(['@/components/material/meterialManage/viewDetails'], resolve),
          meta: {title: '材料-详情'}
        },
        {
          path: '/teamBuy/seDetail',
          name: 'seDetail',
          component: resolve => require(['@/components/material/meterialManage/seDetail'], resolve),
          meta: {title: '材料-详情'}
        },

        {
          path: '/procurement',
          name: 'procurement',
          component: resolve => require(['@/components/material/inputManage/procurement'], resolve),
          meta: {title: '材料-采购入库'}
        },
        {
          path: '/armor',
          name: 'armor',
          component: resolve => require(['@/components/material/inputManage/armor'], resolve),
          meta: {title: '材料-甲供入库'}
        },
        {
          path: '/allot',
          name: 'allot',
          component: resolve => require(['@/components/material/inputManage/allot'], resolve),
          meta: {title: '材料-调拨入库'}
        }, {
          path: '/salesreturn',
          name: 'salesreturn',
          component: resolve => require(['@/components/material/inputManage/salesreturn'], resolve),
          meta: {title: '材料-退料入库'}
        }, {
          path: '/allocation',
          name: 'allocation',
          component: resolve => require(['@/components/material/outputManage/allocation'], resolve),
          meta: {title: '材料-内部调拨'}
        }, {
          path: '/allocation/alloDetail',
          name: 'alloDetail',
          component: resolve => require(['@/components/material/outputManage/alloDetail'], resolve),
          meta: {title: '材料-详情'}
        }, {
          path: '/allocation/alloAdd',
          name: 'alloAdd',
          component: resolve => require(['@/components/material/outputManage/alloAdd'], resolve),
          meta: {title: '材料-调拨材料'}
        }, {
          path: '/teamMater',
          name: 'teamMater',
          component: resolve => require(['@/components/material/outputManage/teamMater'], resolve),
          meta: {title: '材料-施工队领料'}
        }, {
          path: '/extOut',
          name: 'extOut',
          component: resolve => require(['@/components/material/outputManage/extOut'], resolve),
          meta: {title: '材料-外部出库'}
        }, {
          path: '/materOut',
          name: 'materOut',
          component: resolve => require(['@/components/material/outputManage/materOut'], resolve),
          meta: {title: '材料-退料出库'}
        }, {
          path: '/materOut/materoutDetail',
          name: 'materoutDetail',
          component: resolve => require(['@/components/material/outputManage/materoutDetail'], resolve),
          meta: {title: '材料-退料出库'}
        }, {
          path: '/extOut/extDetail',
          name: 'extDetail',
          component: resolve => require(['@/components/material/outputManage/extDetail'], resolve),
          meta: {title: '材料-外部出库'}
        }, {
          path: '/teamMater/teamDetail',
          name: 'teamDetail',
          component: resolve => require(['@/components/material/outputManage/teamDetail'], resolve),
          meta: {title: '材料-外部出库'}
        }, {
          path: '/teamStock/teamInDetail',
          name: 'teamInDetail',
          component: resolve => require(['@/components/material/outputManage/teamInDetail'], resolve),
          meta: {title: '材料-外部出库'}
        }, {
          path: '/proStock',
          name: 'proStock',
          component: resolve => require(['@/components/material/stockManage/proStock'], resolve),
          meta: {title: '材料-项目部库存'}
        }, {
          path: '/teamStock',
          name: 'teamStock',
          component: resolve => require(['@/components/material/stockManage/teamStock'], resolve),
          meta: {title: '材料-施工队库存'}
        }, {
          path: '/balance',
          name: 'balance',
          component: resolve => require(['@/components/material/stockManage/balance'], resolve),
          meta: {title: '材料-平衡总表'}
        }, {
          path: '/balance/balanceRecords',
          name: 'balanceRecords',
          component: resolve => require(['@/components/material/stockManage/balanceRecords'], resolve),
          meta: {title: '材料-平衡总表'}
        }, {
          path: '/balance/balanceOrder',
          name: 'balanceOrder',
          component: resolve => require(['@/components/material/stockManage/balanceOrder'], resolve),
          meta: {title: '材料-平衡总表'}
        }, {
          path: '/totalStock',
          name: 'totalStock',
          component: resolve => require(['@/components/material/stockManage/totalStock'], resolve),
          meta: {title: '材料-总部库存'}
        }, {
          path: '/totalStock/totalOrder',
          name: 'totalOrder',
          component: resolve => require(['@/components/material/stockManage/totalOrder'], resolve),
          meta: {title: '材料-查看单据'}
        }, {
          path: '/totalStock/totalRecords',
          name: 'totalRecords',
          component: resolve => require(['@/components/material/stockManage/totalRecords'], resolve),
          meta: {title: '材料-库存记录'}
        }, {
          path: '/totalStock/outStock',
          name: 'outStock',
          component: resolve => require(['@/components/material/stockManage/outStock'], resolve),
          meta: {title: '出库'}
        }, {
          path: '/totalStock/inStock',
          name: 'inStock',
          component: resolve => require(['@/components/material/stockManage/inStock'], resolve),
          meta: {title: '入库'}
        }, {
          path: '/allot/allotMaterialList',
          name: 'allotMaterialList',
          component: resolve => require(['@/components/material/props/allotMaterialList'], resolve),
          meta: {title: '材料-调拨入库信息'}
        }, {
          path: '/procurement/procurementList',
          name: 'procurementList',
          component: resolve => require(['@/components/material/props/procurementList'], resolve),
          meta: {title: '材料-采购入库信息'}
        }, {
          path: '/armor/armorList',
          name: 'armorList',
          component: resolve => require(['@/components/material/props/armorList'], resolve),
          meta: {title: '材料-甲供入库信息'}
        }, {
          path: '/salesreturn/salereturnList',
          name: 'salereturnList',
          component: resolve => require(['@/components/material/props/salereturnList'], resolve),
          meta: {title: '材料-退料入库信息'}
        }, {
          path: '/proStock/proRecords',
          name: 'proRecords',
          component: resolve => require(['@/components/material/stockManage/proRecords'], resolve),
          meta: {title: '材料-库存记录'}
        }, {
          path: '/teamStock/teamOrder',
          name: 'teamOrder',
          component: resolve => require(['@/components/material/stockManage/teamOrder'], resolve),
          meta: {title: '材料-查看单据'}
        }, {
          path: '/proStock/proOrder',
          name: 'proOrder',
          component: resolve => require(['@/components/material/stockManage/proOrder'], resolve),
          meta: {title: '材料-查看单据'}
        }, {
          path: '/teamStock/teamRecords',
          name: 'teamRecords',
          component: resolve => require(['@/components/material/stockManage/teamRecords'], resolve),
          meta: {title: '材料-库存记录'}
        }, {
          path: '/stockManage',
          name: 'stockManage',
          component: resolve => require(['@/components/material/stockManage/stockManage'], resolve),
          meta: {title: '仓库管理'}
        }, {
          path: '/stockManage/addStock',
          name: 'addStock',
          component: resolve => require(['@/components/material/stockManage/addStock'], resolve),
          meta: {title: '添加仓库'}
        },
        {
          path: '/role',
          name: 'role',
          component: resolve => require(['@/components/limit/role'], resolve),
          meta: {title: '权限-部门管理'},
        }, {
          path: '/role/permission',
          name: 'permission',
          component: resolve => require(['@/components/limit/permission'], resolve),
          meta: {title: '权限-权限选择'}
        }, {
          path: '/member',
          name: 'member',
          component: resolve => require(['@/components/limit/member'], resolve),
          meta: {title: '权限-成员管理'}
        }, {
          path: '/operation',
          name: 'operation',
          component: resolve => require(['@/components/limit/operation'], resolve),
          meta: {title: '权限-操作日志'}
        }, {
          path: '/dataList',
          name: 'dataList',
          component: resolve => require(['@/components/limit/dataList'], resolve),
          meta: {title: '权限-数据库管理'}
        },
        {
          path: '/orgSetting',
          name: 'orgSetting',
          component: resolve => require(['@/components/limit/orgSetting'], resolve),
          meta: {title: '权限-部门设置'}
        },
        {
          path: '/limitConfig',
          name: 'limitConfig',
          component: resolve => require(['@/components/limit/limitConfig'], resolve),
          meta: {title: '权限-权限配置'}
        },
        {
          path: '/role/roleLimitConfig',
          name: 'roleLimitConfig',
          component: resolve => require(['@/components/limit/roleLimitConfig'], resolve),
          meta: {title: '角色-权限管理'}
        },
        {
          path: '/member/editMember',
          name: 'editMember',
          component: resolve => require(['@/components/limit/editMember'], resolve),
          meta: {title: '权限-编辑', keepAlive: false}
        }, {
          path: '/addTeam',
          name: 'addTeam',
          component: resolve => require(['@/components/manage/addTeam'], resolve),
          meta: {title: '施工管理-添加施工队'}
        }, {
          path: '/teamInfo/editTeam',
          name: 'editTeam',
          component: resolve => require(['@/components/manage/editTeam'], resolve),
          meta: {title: '施工管理-编辑施工队'}
        }, {
          path: '/teamInfo',
          name: 'teamInfo',
          component: resolve => require(['@/components/manage/teamInfo'], resolve),
          meta: {title: '施工管理-施工队信息'}
        },
        {
          path: '/teamInfo/setTeamCount',
          name: 'setTeamCount',
          component: resolve => require(['@/components/manage/setTeamCount'], resolve),
          meta: {title: '施工管理-设置结算价格'}
        },
        {
          path: '/teamInfo/seeDetails',
          name: 'seeDetails',
          component: resolve => require(['@/components/manage/seeDetails'], resolve),
          meta: {title: '施工管理-施工队信息查看详情'}
        },

        {
          path: '/teamProject',
          name: 'teamProject',
          component: resolve => require(['@/components/manage/teamProject'], resolve),
          meta: {title: '施工管理-施工队负责项目'}
        }, {
          path: '/teamCalc',
          name: 'teamCalc',
          component: resolve => require(['@/components/manage/teamCalc'], resolve),
          meta: {title: '施工管理-施工队考勤'}
        },
        {
          path: '/addAccount',
          name: 'addAccount',
          component: resolve => require(['@/components/manage/addAccount'], resolve),
          meta: {title: '施工管理-施工队考勤'}
        },
        {
          path: '/companyInfo',
          name: 'companyInfo',
          component: resolve => require(['@/components/manage/companyInfo'], resolve),
          meta: {title: '施工公司信息'}
        },
        {
          path: '/companyInfo/addCompany',
          name: 'addCompany',
          component: resolve => require(['@/components/manage/addCompany'], resolve),
          meta: {title: '添加施工公司'}
        },
        {
          path: '/exTeamInfo',
          name: 'exTeamInfo',
          component: resolve => require(['@/components/manage/exTeamInfo'], resolve),
          meta: {title: '施工队信息'}
        },
        {
          path: '/exTeamInfo/exEditTeamInfo',
          name: 'exEditTeamInfo',
          component: resolve => require(['@/components/manage/exEditTeamInfo'], resolve),
          meta: {title: '编辑施工队'}
        },
        {
          path: '/totalCount',
          name: 'totalCount',
          component: resolve => require(['@/components/finance/totalCount'], resolve),
          meta: {title: '财务-综合统计'}
        }, {
          path: '/sellCount',
          name: 'sellCount',
          component: resolve => require(['@/components/finance/sellCount'], resolve),
          meta: {title: '财务-报销统计'}
        }, {
          path: '/costManage',
          name: 'costManage',
          component: resolve => require(['@/components/finance/costManage'], resolve),
          meta: {title: '财务-成本管理'}
        }, {
          path: '/teamCount',
          name: 'teamCount',
          component: resolve => require(['@/components/finance/teamCount'], resolve),
          meta: {title: '财务-施工队结算'}
        }, {
          path: '/purchase',
          name: 'purchase',
          component: resolve => require(['@/components/finance/purchase'], resolve),
          meta: {title: '财务-采购管理'}
        }, {
          path: '/payManage',
          name: 'payManage',
          component: resolve => require(['@/components/finance/payManage'], resolve),
          meta: {title: '财务-造价管理'}
        },
        // 预算绘图
        {
          path: '/amap',
          name: 'amap',
          component: resolve => require(['@/components/budget/amap'], resolve),
          meta: {title: '绘图'}
        }, {
          path: '/budget/budgetTable',
          name: 'budgetTable',
          component: resolve => require(['@/components/budget/budgetTable'], resolve),
          meta: {title: '预算绘图-项目预算列表'}
        }, {
          path: '/budget/makeBudget',
          name: 'makeBudget',
          component: resolve => require(['@/components/budget/makeBudget'], resolve),
          meta: {title: '预算绘图-生成概预算'}
        },
        {
          path: '/budget/budgetDetail',
          name: 'budgetDetail',
          component: resolve => require(['@/components/budget/budgetDetail'], resolve),
          meta: {title: '项目预算列表-列表详情'}
        },
        // 评估绘图
        {
          path: '/draw',
          name: 'draw',
          component: resolve => require(['@/components/assess/draw'], resolve),
          meta: {title: '评估绘图'}
        }, {
          path: '/drawBudget',
          name: 'drawBudget',
          component: resolve => require(['@/components/assess/drawBudget'], resolve),
          meta: {title: '生成概预算'}
        }, {
          path: '/saveTable',
          name: 'saveTable',
          component: resolve => require(['@/components/assess/saveTable'], resolve),
          meta: {title: '评估项目暂存列表'}
        },

        // 网格管理
        {
          path: '/griddingList',
          name: 'griddingList',
          component: resolve => require(['@/components/griddingManage/griddingList'], resolve),
          meta: {title: '网格列表'}
        },
        {
          path: '/memberList',
          name: 'memberList',
          component: resolve => require(['@/components/griddingManage/memberList'], resolve),
          meta: {title: '成员列表'}
        },
        {
          path: '/addrManage',
          name: 'addrManage',
          component: resolve => require(['@/components/griddingManage/addrManage'], resolve),
          meta: {title: '地址管理'}
        },
        {
          path: '/includeOrg',
          name: 'includeOrg',
          component: resolve => require(['@/components/griddingManage/includeOrg'], resolve),
          meta: {title: '包含项目部'}
        },

        // 大区管理
        {
          path: '/areaLeaderName',
          name: 'areaLeaderName',
          component: resolve => require(['@/components/bigAreaManage/areaLeaderName'], resolve),
          meta: {title: '区负责人账号添加'}
        },
        {
          path: '/areaLeader',
          name: 'areaLeader',
          component: resolve => require(['@/components/bigAreaManage/areaLeader'], resolve),
          meta: {title: '区负责人添加'}
        },


        //重新配置
        {
          path: '/contractList/detailframe',
          name: 'detailframe',
          component: resolve => require(['@/components/contract/detailframe'], resolve),
          meta: {title: '框架合同详情'}
        },
        {
          path: '/contractList/detailsingle',
          name: 'detailsingle',
          component: resolve => require(['@/components/contract/detailsingle'], resolve),
          meta: {title: '详情'}
        },
        {
          path: '/contractList/detailpro',
          name: 'detailpro',
          component: resolve => require(['@/components/contract/detailpro'], resolve),
          meta: {title: '详情'}
        },
        {
          path: '/contractList/detailpros',
          name: 'detailpros',
          component: resolve => require(['@/components/contract/detailpros'], resolve),
          meta: {title: '详情'}
        }, {
          path: '/contractList/detailproxu',
          name: 'detailproxu',
          component: resolve => require(['@/components/contract/detailproxu'], resolve),
          meta: {title: '详情'}
        },
        {
          path: '/contractList/detailsub',
          name: 'detailsub',
          component: resolve => require(['@/components/contract/detailsub'], resolve),
          meta: {title: '详情'}
        },
        // 补盲扩材料
        {
          path: '/exMatrerIn',
          name: 'exMatrerIn',
          component: resolve => require(['@/components/suppleExpansion/exMatrerIn'], resolve),
          meta: {title: '领料入库'}
        },
        {
          path: '/exMatrerIn/exMatrerInDetail',
          name: 'exMatrerInDetail',
          component: resolve => require(['@/components/suppleExpansion/exMatrerInDetail'], resolve),
          meta: {title: '入库信息'}
        },
        {
          path: '/exRetreatIn',
          name: 'exRetreatIn',
          component: resolve => require(['@/components/suppleExpansion/exRetreatIn'], resolve),
          meta: {title: '退料入库'}
        },
        {
          path: '/exRetreatIn/exRetreatInDetail',
          name: 'exRetreatInDetail',
          component: resolve => require(['@/components/suppleExpansion/exRetreatInDetail'], resolve),
          meta: {title: '入库信息'}
        },
        {
          path: '/exAlloIn',
          name: 'exAlloIn',
          component: resolve => require(['@/components/suppleExpansion/exAlloIn'], resolve),
          meta: {title: '调拨入库'}
        },
        {
          path: '/exAlloIn/exAlloInDetail',
          name: 'exAlloInDetail',
          component: resolve => require(['@/components/suppleExpansion/exAlloInDetail'], resolve),
          meta: {title: '入库信息'}
        },
        {
          path: '/exConstruction',
          name: 'exConstruction',
          component: resolve => require(['@/components/suppleExpansion/exConstruction'], resolve),
          meta: {title: '施工领料'}
        },
        {
          path: '/exConstruction/exConstructionOut',
          name: 'exConstructionOut',
          component: resolve => require(['@/components/suppleExpansion/exConstructionOut'], resolve),
          meta: {title: '添加领用材料'}
        },
        {
          path: '/exWithdrawal',
          name: 'exWithdrawal',
          component: resolve => require(['@/components/suppleExpansion/exWithdrawal'], resolve),
          meta: {title: '退料出库'}
        },
        {
          path: '/exWithdrawal/exWithdrawalOut',
          name: 'exWithdrawalOut',
          component: resolve => require(['@/components/suppleExpansion/exWithdrawalOut'], resolve),
          meta: {title: '添加退料出库'}
        },
        {
          path: '/exAlloOut',
          name: 'exAlloOut',
          component: resolve => require(['@/components/suppleExpansion/exAlloOut'], resolve),
          meta: {title: '调拨出库'}
        },
        {
          path: '/exAlloOut/exAlloOutDetail',
          name: 'exAlloOutDetail',
          component: resolve => require(['@/components/suppleExpansion/exAlloOutDetail'], resolve),
          meta: {title: '出库信息'}
        },
        {
          path: '/exLargeStore',
          name: 'exLargeStore',
          component: resolve => require(['@/components/suppleExpansion/exLargeStore'], resolve),
          meta: {title: '大区库存'}
        },
        {
          path: '/exLargeStore/exLargeStoreRecord',
          name: 'exLargeStoreRecord',
          component: resolve => require(['@/components/suppleExpansion/exLargeStoreRecord'], resolve),
          meta: {title: '大区库存'}
        },
        {
          path: '/exCompanyStore',
          name: 'exCompanyStore',
          component: resolve => require(['@/components/suppleExpansion/exCompanyStore'], resolve),
          meta: {title: '施工公司库存'}
        },
        {
          path: '/exCompanyStore/exCompanyStoreRecord',
          name: 'exCompanyStoreRecord',
          component: resolve => require(['@/components/suppleExpansion/exCompanyStoreRecord'], resolve),
          meta: {title: '施工公司库存'}
        },
        {
          path: '/exProjectStore',
          name: 'exProjectStore',
          component: resolve => require(['@/components/suppleExpansion/exProjectStore'], resolve),
          meta: {title: '项目部库存'}
        },
        {
          path: '/exProjectStore/exProjectStoreRecord',
          name: 'exProjectStoreRecord',
          component: resolve => require(['@/components/suppleExpansion/exProjectStoreRecord'], resolve),
          meta: {title: '项目部库存'}
        },
        {
          path: '/exTeamStore',
          name: 'exTeamStore',
          component: resolve => require(['@/components/suppleExpansion/exTeamStore'], resolve),
          meta: {title: '施工队库存'}
        },
        {
          path: '/exTeamStore/exTeamStoreRecord',
          name: 'exTeamStoreRecord',
          component: resolve => require(['@/components/suppleExpansion/exTeamStoreRecord'], resolve),
          meta: {title: '施工队库存'}
        },
        {
          path: '/exBalance',
          name: 'exBalance',
          component: resolve => require(['@/components/suppleExpansion/exBalance'], resolve),
          meta: {title: '材料平衡总表'}
        },
        {
          path: '/exBalance/exBalanceRecord',
          name: 'exBalanceRecord',
          component: resolve => require(['@/components/suppleExpansion/exBalanceRecord'], resolve),
          meta: {title: '材料平衡总表'}
        },
        {
          path: '/exAllocation',
          name: 'exAllocation',
          component: resolve => require(['@/components/suppleExpansion/exAllocation'], resolve),
          meta: {title: '内部调拨'}
        },
        {
          path: '/exAllocation/exAllocationDetail',
          name: 'exAllocationDetail',
          component: resolve => require(['@/components/suppleExpansion/exAllocationDetail'], resolve),
          meta: {title: '内部调拨信息'}
        },
        {
          path: '/exWarehouse',
          name: 'exWarehouse',
          component: resolve => require(['@/components/suppleExpansion/exWarehouse'], resolve),
          meta: {title: '仓库管理'}
        },
        {
          path: '/exWarehouse/exAddWarehouse',
          name: 'exAddWarehouse',
          component: resolve => require(['@/components/suppleExpansion/exAddWarehouse'], resolve),
          meta: {title: '添加施工公司'}
        },
        {
          path: '/system/unMaterSureIn',
          name: 'unMaterSureIn',
          component: resolve => require(['@/components/system/undo/unMaterSureIn'], resolve),
          meta: {title: '待确认入库'}
        },
        {
          path: '/system/unSureInStore',
          name: 'unSureInStore',
          component: resolve => require(['@/components/system/undo/material/unSureInStore'], resolve),
          meta: {title: '待确认入库'}
        },
        {
          path: '/system/returnToStorage',
          name: 'returnToStorage',
          component: resolve => require(['@/components/system/undo/material/returnToStorage'], resolve),
          meta: {title: '退料入库'}
        },
        {
          path: '/system/unMaterSureMater',
          name: 'unMaterSureMater',
          component: resolve => require(['@/components/system/undo/unMaterSureMater'], resolve),
          meta: {title: '待确认材料'}
        },
        {
          path: '/system/unMaterSureMater/unMaterSureOut',
          name: 'unMaterSureOut',
          component: resolve => require(['@/components/system/undo/unMaterSureOut'], resolve),
          meta: {title: '待确认材料出库'}
        },
        {
          path: '/system/unMaterSureIn/materIn',
          name: 'materIn',
          component: resolve => require(['@/components/system/undo/materIn'], resolve),
          meta: {title: '待入库'}
        },
        {
          path: '/system/unNeedMater',
          name: 'unNeedMater',
          component: resolve => require(['@/components/system/undo/unNeedMater'], resolve),
          meta: {title: '需领取材料'}
        },
        {
          path: '/system/unPayCompany',
          name: 'unPayCompany',
          component: resolve => require(['@/components/system/undo/unPayCompany'], resolve),
          meta: {title: '待结算施工公司'}
        },
        {
          path: '/system/bigAreaUnAcceptance',
          name: 'bigAreaUnAcceptance',
          component: resolve => require(['@/components/system/undo/unAcceptance/bigAreaUnAcceptance'], resolve),
          meta: {title: '待验收项目-大区负责人'}
        },
        // 系统填报
        {
          path: '/moveProjectList',
          name: 'moveProjectList',
          component: resolve => require(['@/components/systemPut/moveProjectList'], resolve),
          meta: {title: '服开系统-项目列表'}
        },
        {
          path: '/systemPut/getServerOpen',
          name: 'getServerOpen',
          component: resolve => require(['@/components/systemPut/serverOpenSystem/getServerOpen'], resolve),
          meta: {title: '服开系统-获取服开信息'}
        },
        {
          path: '/systemPut/gjResTable',
          name: 'gjResTable',
          component: resolve => require(['@/components/systemPut/serverOpenSystem/gjResTable'], resolve),
          meta: {title: '服开系统-汇聚光交反馈表'}
        },
        {
          path: '/systemPut/gjInformation',
          name: 'gjInformation',
          component: resolve => require(['@/components/systemPut/pipeLineSystem/gjInformation'], resolve),
          meta: {title: '管线系统-汇聚光交信息'}
        },
        {
          path: '/systemPut/coordinateInfo',
          name: 'coordinateInfo',
          component: resolve => require(['@/components/systemPut/appearSystem/coordinateInfo'], resolve),
          meta: {title: '呈现系统-协调单信息'}
        },
        // 流程详解
        {
          path: '/videoTeach',
          name: 'videoTeach',
          component: resolve => require(['@/components/processExplain/videoTeach'], resolve),
          meta: {title: '流程详解-视频教程'}
        },
        {
          path: '/docxTeach',
          name: 'docxTeach',
          component: resolve => require(['@/components/processExplain/docxTeach'], resolve),
          meta: {title: '流程详解-教程文档'}
        },

        {
          path: '/404',
          component: resolve => require(['@/components/404'], resolve),
          meta: {title: '404'}
        },
      ]
    },
    {
      path: '*',
      redirect: '/404'
    }

  ]
})
